package edu.sctu.wangfuxin.day20150614.testfile;

import java.io.File;

/**
 * Created by user06 on 2015/6/14.
 */
public class RunMain {
    public static final String PATH = "D:\\wangdaye\\nieyuxiaogou";
    public static final String NEWPATH = PATH + "\\t.txt";

    public static void main(String[] args) {
        TestFile file = new TestFile();
        System.out.println(file.crateFile(PATH));
        System.out.println(file.crateNewFile(NEWPATH));
        System.out.println(file.deleteFile(NEWPATH));//delete只能逐层删除
        System.out.println(new File(NEWPATH).getName());
    }
}
